const { Mock } = require('../../utils/index')
exports.mockAllClass = Mock.mock({
  status: 200,
  data: {
    statu: 0,
    'data|6': [
      {
        'id|+1': 100,
        'name|+1': ['资讯', '微软', '苹果', '框架', '后端', '前端'],
        'class|3-5': [
          {
            'id|+1': 200,
            'name|+1': [
              '业界',
              '网络',
              '评论',
              '人物',
              '活动互动',
              '阳台',
              '囧科技'
            ]
          }
        ]
      }
    ]
  }
})
exports.mockUserClass = Mock.mock({
  status: 200,
  data: {
    statu: 0,
    data:
      '[{"id": 101, "name": "微软"},{"id": 102, "name": "苹果"},{"id": 103, "name": "框架"}]'
  }
})
exports.mockEditUserClass = Mock.defaultObject
